package com.example.backend.entitly.mysql.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 物流表
 *
 * @TableName order_shipping
 */
@TableName(value = "order_shipping")
@Data
public class OrderShipping implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 物流ID
     */
    @TableId(type = IdType.AUTO)
    private Integer shippingId;
    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 物流公司
     */
    private String shippingCompany;
    /**
     * 物流单号
     */
    private String shippingNo;
    /**
     * 发货时间
     */
    private Date shippingTime;
    /**
     * 收货时间
     */
    private Date receiverTime;
    /**
     * 0-未发货 1-已发货 2-已收货
     */
    private Integer shippingStatus;
    /**
     * 创建时间
     */
    private Date createdAt;
    /**
     * 更新时间
     */
    private Date updatedAt;
    /**
     * 0-正常 1-删除
     */
    private Integer deleted;
    /**
     * 删除时间
     */
    private Date deletedAt;
}